export const UserType = {
  WATER_DELIVERY_WORKER: "1", // 送水工
  REGIONAL_MANAGER: "2",      // 区域经理
  WATER_STATION_ADMIN: "3",   // 水站管理员
  SALES_REP: "4",            // 业务员
  CUSTOMER: "5"              // 客户
} as const;

export type IUserType = typeof UserType[keyof typeof UserType];

// 用户类型映射到中文标签
export const UserTypeLabels: Record<IUserType, string> = {
  [UserType.WATER_DELIVERY_WORKER]: '送水工',
  [UserType.REGIONAL_MANAGER]: '区域经理',
  [UserType.WATER_STATION_ADMIN]: '水站管理员',
  [UserType.SALES_REP]: '业务员',
  [UserType.CUSTOMER]: '客户'
};
